#include("/include/pageForm.html",action="admin/merch/role/search")
<div class="pageHeader">
	<form rel="pagerForm" onsubmit="return navTabSearch(this);" action="admin/merch/role/search" method="post">
	<div class="searchBar">
		<ul class="searchContent">
			<li>
				<label>角色名：</label>
				<input type="text" name="roleName" value="#(roleName)"/>
			</li>
		</ul>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索</button></div></div></li>
			</ul>
		</div>
	</div>
	</form>
</div>

<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			#auth()
				<li><a class="add" href="admin/merch/role/addPage" target="dialog"><span>添加</span></a></li>
			#end
			#auth()
				<li><a class="edit" href="admin/merch/role/updatePage?id={sid}" target="dialog" ><span>修改</span></a></li>
			#end
			#auth()
				<li><a class="delete" href="admin/merch/role/delete?id={sid}" target="ajaxTodo" title="确定要删除吗？" ><span>删除</span></a></li>
			#end
			#auth()
				<li><a class="icon" href="admin/merch/role/alloctSourcePage?id={sid}" target="navTab" ><span>分配权限</span></a></li>
			#end
		</ul>
	</div>

	<div id="w_list_print">
	<table class="list" style="width: 98%" targetType="navTab" asc="asc" desc="desc" layoutH="116">
		<thead>
			<tr>
				<th width="80">角色名</th>
				<th width="100">描述</th>
				<th width="100">更新时间</th>
			</tr>
		</thead>
		<tbody>
			#for(item:items)
				<tr target="sid" rel="#(item.id)">
					<td>#(item.roleName )</td>
					<td>#(item.describe )</td>
					<td>#(item.updateDateTime )</td>
				</tr>
			#end
		</tbody>
	</table>
	</div>
	
	#include("/include/page.html")

</div>
